package com.alg.pattern.chain;
/**
 * @ClassName ErrorLogger
 * @Author Jiayi Zheng
 * @Date 2022/12/30 11:05
 * @Description: todo
 * @Version V1.0
 */

public class ErrorLogger extends AbstractLogger {

    public ErrorLogger(int level){
        this.level = level;
    }

    @Override
    protected void write(String message) {
        System.out.println("Error Console::Logger: " + message);
    }
}

